package com.xiaocc.spring.demo.csapp;


/**
 * 基于构造方法注入的spring
 * @author xiaocc
 *
 */
public class ConstractorBeanDemo {

	private String name;
	
	private String addr;
	
	private int size;
	
	public ConstractorBeanDemo() {
		super();
	}

	public ConstractorBeanDemo(String name, String addr, int size) {
		super();
		this.name = name;
		this.addr = addr;
		this.size = size;
	}

	@Override
	public String toString() {
		return "ConstractorBeanDemo [name=" + name + ", addr=" + addr
				+ ", size=" + size + "]";
	}
	
	
	
}
